package com.socialuni.common.user.sdk.config;

import com.socialuni.common.user.model.config.EnableCommonUserModel;
import com.socialuni.uniapp.sdk.config.EnableUniAppSDK;
import org.springframework.context.annotation.Import;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@EnableUniAppSDK
@EnableCommonUserModel
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Import(CommonUserSDKAutoConfiguration.class)
@EnableTransactionManagement
public @interface EnableCommonUserSDK {
}